  <div class="site-showcase">
    <!-- Start Page Header -->
    <div class="parallax page-header" style="background-image:url(http://placehold.it/1200x260&amp;text=IMAGE+PLACEHOLDER);">
          <div class="container">
              <div class="row">
                  <div class="col-md-12">
                      <h1>Thumbnails Blog</h1>
                  </div>
             </div>
         </div>
    </div>
    <!-- End Page Header -->
  </div> 
  <!-- Start Content -->
  <div class="main" role="main">
    <div id="content" class="content full">
      <div class="container">
        <div class="row">
          <div class="col-md-9 posts-archive">
  <?php if (!empty($blogPosts)) : ?>

    <?php foreach ($blogPosts as $blogPost) : ?>
            <article class="post">
              <div class="row">
                <div class="col-md-4 col-sm-4"> <a href="blog-post.html"><img src="http://placehold.it/600x400&amp;text=IMAGE+PLACEHOLDER" alt="" class="img-thumbnail"></a> </div>
                <div class="col-md-8 col-sm-8">
                  <h3><?php echo $this->Html->link($blogPost['BlogPost']['title'], array('action' => 'view', $blogPost['BlogPost']['slug']), array('title' => $blogPost['BlogPost']['title'], 'rel' => 'bookmark')); ?></h3><?php //echo date('c', $createdTimestamp = strtotime($blogPost['BlogPost']['created'])); ?>
                  <span class="post-meta meta-data"> <span><i class="fa fa-calendar"></i>
				  <?php echo $this->Time->format($blogPost['BlogPost']['created'], '%b %e, %Y %H:%m %p'); //  echo date($blogSettings['published_format_on_post_index'], $createdTimestamp); ?></span><span><i class="fa fa-archive"></i> <a href="#">Uncategorized</a></span> <span><a href="#"><i class="fa fa-comment"></i> 12</a></span></span>
                  <p> <?php echo $blogPost['BlogPost']['body']; ?></p>
                  <p><a href="#" class="btn btn-primary">Continue reading <i class="fa fa-long-arrow-right"></i></a></p>
                </div>
              </div>
            </article>
    <?php endforeach; ?>
    <?php endif; ?>
    

			<?php  echo $this->element('paginate'); ?>

          </div>
          <!-- Start Sidebar -->
          <div class="col-md-3 sidebar">  
	<?php //echo $this->element('archives'); ?>
  	<?php //echo $this->element('categories'); ?>
  	<?php  //echo $this->element('tag_cloud'); ?>

            <div class="widget sidebar-widget search-form-widget">
                  <h3 class="widgettitle">Search the Blog</h3>
                <div class="input-group input-group-lg">
                    <input type="text" class="form-control" placeholder="Search Posts...">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button"><i class="fa fa-search fa-lg"></i></button>
                  </span>
                </div>
            </div>
			<?php //echo $this->element('archives'); ?>
  			<?php echo $this->element('categories'); ?>
			<?php  echo $this->element('tag_cloud'); ?>

          </div>
        </div>
      </div>
    </div>
  </div>
